package com.shy.collect.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shy.collect.entity.PayWay;
import com.shy.configs.mvc.models.query.PayWayQuery;
import com.shy.configs.mvc.models.vo.DicItemVo;

import java.util.List;

public interface PayWayService {
    /**
     * 分页查询
     * @param pageNo
     * @param pageSize
     * @return
     */
    IPage<PayWay> pageList(String productCode,Integer pageNo, Integer pageSize);

    List<DicItemVo> getPayWayDicList();

    List<DicItemVo> getPayTypeDicList(String wayCode);

    void createPayWay(PayWayQuery payWayQuery);

    void removeById(PayWayQuery payWayQuery);
}
